package com.ruoyi.sso.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户与物管关系对象 sso_wx_user_url
 * 
 * @author zsj
 * @date 2020-01-07
 */
public class SsoWxUserUrl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 微信用户id */
    @Excel(name = "微信用户id")
    private Long wxUserId;

    /** 网址id */
    @Excel(name = "网址id")
    private Long wyUrlId;

    /** 类型0业主1物业 */
    @Excel(name = "类型0业主1物业")
    private Integer type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWxUserId(Long wxUserId) 
    {
        this.wxUserId = wxUserId;
    }

    public Long getWxUserId() 
    {
        return wxUserId;
    }
    public void setWyUrlId(Long wyUrlId) 
    {
        this.wyUrlId = wyUrlId;
    }

    public Long getWyUrlId() 
    {
        return wyUrlId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wxUserId", getWxUserId())
            .append("wyUrlId", getWyUrlId())
            .append("type", getType())
            .toString();
    }
}
